﻿using FrameworkCore.Extensions;
using System.Text.Json.Serialization;

namespace AiBLSmartEdu.Module.SmartStockSense.API.DTOs;

public class MACDTechnicalIndicatorDto
{
    /// <summary>
    /// 时间戳
    /// </summary>
    [JsonPropertyName("t")]
    [JsonConverter(typeof(CustomDateTimeConverter))]
    public DateTime? T { get; set; }

    /// <summary>
    /// Diff值
    /// </summary>
    [JsonPropertyName("diff")]
    public decimal? Diff { get; set; }

    /// <summary>
    /// Dea值
    /// </summary>
    [JsonPropertyName("dea")]
    public decimal? Dea { get; set; }

    /// <summary>
    /// Macd值
    /// </summary>
    [JsonPropertyName("macd")]
    public decimal? Macd { get; set; }

    /// <summary>
    /// Ema12值
    /// </summary>
    [JsonPropertyName("ema12")]
    public decimal? Ema12 { get; set; }

    /// <summary>
    /// Ema26值
    /// </summary>
    [JsonPropertyName("ema26")]
    public decimal? Ema26 { get; set; }
}
